Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implemented QFP80 component #40

Merged
merged 4 commits into from
Sep 22, 2024
Merged

Implemented QFP80 component #40

merged 4 commits into from
Sep 22, 2024

Conversation

abhijitxy
Copy link
Contributor

#39

Copy link

vercel bot commented Sep 21, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
jscad-electronics ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 22, 2024 10:29am

lib/qfp80.tsx Outdated
@@ -0,0 +1,107 @@
import { ChipBody } from "./ChipBody";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the file name should just be qfp

Copy link
Contributor

@seveibar seveibar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure why you introduced a new file in the lib dir

@abhijitxy
Copy link
Contributor Author

not sure why you introduced a new file in the lib dir

So they have a different body width

lib/qfp.tsx Outdated
@@ -3,7 +3,7 @@ import { SmdChipLead } from "./SmdChipLead";

export const QFP = ({
pinCount,
fullWidth = 10,
fullWidth = pinCount === 80 ? 14 : 10,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm this is a hack, you should derive the width automatically, we shouldn't hard code width values

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants